import Vue from 'vue'
import Router from 'vue-router'
import Hello from '@/components/Hello'
import Example1 from '../page/example1/index.vue'
import Example2 from '../page/example2/index.vue'
import Example3 from '../page/example3/index.vue'
import Example4 from '../page/example4/index.vue'
import Example5 from '../page/example5/index.vue'


Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Hello',
      component: Hello
    },
    {
      path: '/example1',
      name: 'Example1',
      component: Example1
    },
    {
      path: '/example2',
      name: 'Example2',
      component: Example2
    },
    {
      path: '/example3',
      name: 'Example3',
      component: Example3
    },
    {
      path: '/example4',
      name: 'Example4',
      component: Example4
    },
    {
      path: '/example5',
      name: 'Example5',
      component: Example5
    },
  ]
})
